package com.spy.dish.vo;

import com.spy.common.core.domain.BaseEntity;
import com.spy.dish.domain.DishIngredient;
import com.spy.dish.domain.DishStep;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(description = "菜品详情视图对象（包含基本信息、用料和步骤）")
public class DishDetailVO extends BaseEntity {

    @ApiModelProperty(value = "菜品ID", example = "1002")
    private Long id;

    @ApiModelProperty(value = "菜品名称", example = "番茄炒蛋")
    private String dishName;

    @ApiModelProperty(value = "菜品分类名称", example = "家常菜")
    private String dishCategoryName;

    @ApiModelProperty(value = "菜品主图路径", example = "/images/dish/tomato-egg.jpg")
    private String dishImg;

    @ApiModelProperty(value = "辣度", example = "微辣")
    private String spiceLevel;

    @ApiModelProperty(value = "是否启用（0=禁用，1=启用）", example = "1")
    private Integer isEnabled;


    @ApiModelProperty(value = "用料列表")
    private List<DishIngredient> ingredients;

    @ApiModelProperty(value = "步骤列表")
    private List<DishStep> steps;
}